Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1014018 // iptables_blockIP - must be root

JavaX fragment (include)

static void iptables_blockIP(S ip) {
  assertIPv4(ip);
  backtick("iptables -I INPUT -s " + ip + " -j DROP");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1014018
Snippet name: iptables_blockIP - must be root
Eternal ID of this version: #1014018/4
Text MD5: 16d15cb9bbbd0eb8fc393b0ff1c85f58
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-22 17:55:13
Source code size: 114 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 412 / 424
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)